
.layui-nav-tree .avater-box  {
    text-align: center;
    /* line-height: 100%; */
}

.layui-nav-img,
.layui-layout-right .layui-hide .text-avater,/*侧边栏头像*/
.layui-nav-tree .avater-box .text-avater/*侧边栏头像*/
{
    width: 36px;
    height: 36px;
    border-radius: 18px;
    margin: 6px 10px;    

}

.layui-layout-right .layui-hide .text-avater,
.layui-nav-tree .avater-box .text-avater
{
    /* overflow: hidden; */
    display: inline-block;
    /* border: solid 1px red; */
    background-color: #009688 ;
    text-align: center;
    line-height: 36px;
    text-shadow: 1px 1px 2px rgba(#000,#000, #000, 0.5);
    font-size: 16px;
}
.avater-box {
    font-size: 14px;
}

.avater-box span{
    font-size: 18px;
    margin-left: 4px;
    
}

.layui-nav-tree .avater-box{
    
    border-bottom: 1px solid #23262E;
}

.layui-body {
    background-color: #F2F2F2;
    overflow-x: hidden;
}

.layui-card {
    margin: 20px 20px;
    user-select: none;
}
/* 
.teacher-col {
    margin-top: 20px;
} */


#main-layui-body .layui-card .layui-body-card-text-avater,/*用户管理卡片*/
#main-layui-body .layui-card .layui-body-card-img-avater
{
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */

    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    margin: 0px 10px; 
    display: inline-block;
    background-color: #009688 ;
    text-align: center;
    line-height: 80px;
    box-shadow: 4px 4px 6px 4px rgb(0 0 0 / 20%);
    font-size: 40px;

    top: 50%;

    overflow: hidden;

}

#main-layui-body .layui-card .card-avater-box{
    height: 100%;;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
}

#main-layui-body .layui-card-body .user-name-box/*用户管理卡片*/
{
    font-family: "Gill Sans", sans-serif;
    font-size: larger;
    margin: 10px auto;
    text-align: center;
}

.admin-mg-teacher-card:hover,
.admin-mg-stud-card:hover{
    cursor: pointer;
    box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, .2);
}

.layui-collapse {
    /* margin: 20px 20px; */
}

.layui-body-teacher-details .teacher-details-card .layui-card-body{
    padding:0px;
    /* text-align: center; */
}

.layui-body-teacher-details .teacher-details-card .layui-card-header{
    font-size: large;
    font-weight: bolder;
    font-style:initial;
    /* text-align: center; */
    padding: 5px 30px;
}

.layui-body-teacher-details .teacher-details-card-body .teacher-details-card-body-item-body{
    padding: 0px;
}

.layui-body-teacher-details .teacher-details-card-body .layui-border-box{
    margin: 0px;
}

.sub-echerts{
    width: 100%;
    height: 300px;
}

/* 美化table中的下拉框 */
    /*使下拉列表框不被遮挡*/
.layui-table-cell {
    overflow: visible !important;
}
.layui-table-box{
    overflow: visible;
}
/*使列表框与表格单元格重合*/
td .layui-form-select {
    margin-top: -10px;
    margin-left: -15px;
    margin-right: -15px;
}
.body-course-tab-table-add,
.body-teacher-tab-table-rid-add,
.body-stud-tab-table-add,
.body-teachcer-tab-table-add{
    margin-top: 20px;
    
    text-align: center;
   
}
.body-course-tab-table-add h2,
.body-teacher-tab-table-rid-add h2,
.body-stud-tab-table-add h2,
.body-teachcer-tab-table-add h2{
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 100px;
}

.pwd-change-btn{
    text-align: center;
}